package com.kingdee.eas.custom.cmict.soa.OSB_ERP_AP_HQ_00015PageInquiryPrePaymentApplySrv;

public class OSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrvProxy implements com.kingdee.eas.custom.cmict.soa.OSB_ERP_AP_HQ_00015PageInquiryPrePaymentApplySrv.OSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrv_PortType {
  private String _endpoint = null;
  private com.kingdee.eas.custom.cmict.soa.OSB_ERP_AP_HQ_00015PageInquiryPrePaymentApplySrv.OSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrv_PortType oSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrv_PortType = null;
  
  public OSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrvProxy() {
    _initOSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrvProxy();
  }
  
  public OSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrvProxy(String endpoint) {
    _endpoint = endpoint;
    _initOSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrvProxy();
  }
  
  private void _initOSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrvProxy() {
    try {
      oSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrv_PortType = (new com.kingdee.eas.custom.cmict.soa.OSB_ERP_AP_HQ_00015PageInquiryPrePaymentApplySrv.OSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrv_ServiceLocator()).getOSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrvPort();
      if (oSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrv_PortType != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)oSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrv_PortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)oSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrv_PortType)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (oSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrv_PortType != null)
      ((javax.xml.rpc.Stub)oSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrv_PortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public com.kingdee.eas.custom.cmict.soa.OSB_ERP_AP_HQ_00015PageInquiryPrePaymentApplySrv.OSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrv_PortType getOSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrv_PortType() {
    if (oSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrv_PortType == null)
      _initOSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrvProxy();
    return oSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrv_PortType;
  }
  
  public com.kingdee.eas.custom.cmict.soa.OSB_ERP_AP_HQ_00015PageInquiryPrePaymentApplySrv.OutputParameters process(com.kingdee.eas.custom.cmict.soa.OSB_ERP_AP_HQ_00015PageInquiryPrePaymentApplySrv.PROCESS_Input payload) throws java.rmi.RemoteException{
    if (oSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrv_PortType == null)
      _initOSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrvProxy();
    return oSB_ERP_AP_HQ_PageInquiryPrePaymentApplySrv_PortType.process(payload);
  }
  
  
}